package com.ling.design.impl;

import com.ling.design.ICouponDiscount;

import java.math.BigDecimal;

/**
 * @author: ling007
 * @date: 2024/9/27 15:12
 * @description:
 */

public class NYGCouponDiscount implements ICouponDiscount<Double> {

    /**
     * n元购购买
     * 1. ⽆无论原价多少钱都固定⾦金金额购买
     */
    @Override
    public BigDecimal discountAmount(Double couponInfo, BigDecimal
            skuPrice) {
        return new BigDecimal(couponInfo);
    }
}
